﻿using System.Net.Sockets;
using eLoop;

namespace eNets.CBK.Sockets;

sealed class TcpSocketAccOper : ASocketAccOper
{
    public TcpSocketAccOper(Socket socket, ITaskScheduler scheduler, SocketCompletedDelegate notify) 
        : base(socket, scheduler, notify)
    {
    }

    protected override bool SocketOperationAsync(Socket socket, SocketArgs args)
    {
        return socket.AcceptAsync(args);
    }
}